<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<div xtra:strip-whitespace="deep">
    <div th:each="item:${xiangjieJson}" th:remove="tag">
        <p class="f"><span class="py" th:text="${item.py}"></span><b class="attr" th:text="${item.attr}"></b></p>
        <ul>
            <div th:each="explain:${item.explains}" th:remove="tag" >
                <li>
                    <u>
                        <div th:each="sentence:${explain.explain}" th:remove="tag" >
                                <span th:if="${sentence.containsKey('cls')}" th:remove="tag">
                                   <b th:text="${sentence.c}" th:if="${sentence.cls.equals('key')}"></b>
                                   <a th:text="${sentence.c}" th:if="${sentence.cls.equals('link')}"></a>
                                   <span class="en" th:text="${sentence.c}" th:if="${sentence.cls.equals('en')}"></span>
                                   <span class="py" th:text="${sentence.c}" th:if="${sentence.cls.equals('py')}"></span>
                                </span>
                            <span th:text="${sentence.c}" th:unless="${sentence.containsKey('cls')}"
                                  th:remove="tag"></span>
                        </div>
                    </u>
                </li>
                <div th:remove="tag" th:if="${explain.containsKey('examples')}">
                    <p class="sub" th:each="example:${explain.examples}">
                                        <span th:each="example_item:${example}" th:remove="tag"
                                              xtra:strip-whitespace="deep">
                                        <span th:if="${example_item.containsKey('cls')}" th:remove="tag">
                                            <b th:text="${example_item.c}" th:if="${example_item.cls.equals('key')}"></b>
                                            <a th:text="${example_item.c}" th:if="${example_item.cls.equals('link')}"></a>
                                            <span class="en" th:text="${example_item.c}" th:if="${example_item.cls.equals('en')}"></span>
                                            <span class="py" th:text="${example_item.c}" th:if="${example_item.cls.equals('py')}"></span>
                                        </span>
                                        <span th:text="${example_item.c}" th:unless="${example_item.containsKey('cls')}"
                                              th:remove="tag"></span>
                                        </span>
                    </p>
                </div>
            </div>
        </ul>
    </div>
</div>